import axios from 'axios';

export default {
    login(params: any) {
        return axios.post('/auth/login', params);
    },

    getValidateCode(){
        return axios.get('/auth/code ');
    },

    
    logout(){
        return axios.post('/auth/logout');
    },

    getAdminInfo() {
        return axios.get('/admin/getAdminInfo');
    },
}
